package cn.sll.search.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SearchMasterMsgDto {

    @NotBlank(message = "姓名不能为空")
    private String name;
    @NotNull(message = "price不能为空")
    private Double price;
    @NotNull(message = "age不能为空")
    private Integer age;
    @NotNull(message = "gender不能为空")
    private Integer gender;
    @NotBlank(message = "coatColor不能为空")
    private String coatColor;
    private String resources;
    @NotNull(message = "petType不能为空")
    private Long petType;
    @NotBlank(message = "address不能为空")
    private String address;
    @NotBlank(message = "title不能为空")
    private String title;

}
